Skip to content

Add i18n support for Chinese and English#46

Merged
watterfall merged 1 commit intomainfrom
claude/add-i18n-multilingual-01Ep2Ee4aPx6tsjvLpmRURei
Nov 22, 2025
Merged

Add i18n support for Chinese and English#46
watterfall merged 1 commit intomainfrom
claude/add-i18n-multilingual-01Ep2Ee4aPx6tsjvLpmRURei

Conversation

@watterfall
Copy link
Contributor

  • Add data-i18n attributes to hardcoded text in contact.astro
  • Add data-i18n attributes to decorative elements in activities.astro
  • Add data-i18n attributes to spaces.astro (Special badge, OWL Space)
  • Add new translation keys: activities.xcamp.training, spaces.design.special, spaces.owlSpace
  • Enhance i18n-client.ts to support data-i18n-list for comma-separated list translations
  • All user-visible text now supports Chinese/English switching

- Add data-i18n attributes to hardcoded text in contact.astro
- Add data-i18n attributes to decorative elements in activities.astro
- Add data-i18n attributes to spaces.astro (Special badge, OWL Space)
- Add new translation keys: activities.xcamp.training, spaces.design.special, spaces.owlSpace
- Enhance i18n-client.ts to support data-i18n-list for comma-separated list translations
- All user-visible text now supports Chinese/English switching
@vercel
Copy link

vercel bot commented Nov 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
website Ready Ready Preview Comment Nov 22, 2025 7:53pm

@watterfall watterfall merged commit 47a0cd5 into main Nov 22, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants